package com.niit.musicserver.mapper;

import com.niit.musicserver.entity.domain.SonglistSong;
import org.springframework.stereotype.Repository;

/**
 * @Description:
 * @Author: cheng_jianzhen
 * @CreateTime： 2024/1/18 11:20
 */
@Repository
public interface SonglistSongMapper {


     /**
      * @Description: 添加新的歌曲到指定歌单中
      * @Author: cheng_jianzhen
      * @CreateTime: 2024/1/18 11:30
      * @param: songlistSong
      * @return: int
      **/
     int insert(SonglistSong songlistSong);


     /**
      * @Description: 删除指定歌单下的某个歌曲（接触某个歌单与某个歌曲的关联关系）
      * @Author: cheng_jianzhen
      * @CreateTime: 2024/1/19 9:40
      * @param: songlistId
      * @param: songId
      * @return: int
      **/
     int deleteSongBySonglistIdSongId(Integer songlistId, Integer songId);
}
